package com.luoran.bartalks.entity.biz;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import org.beetl.sql.core.annotatoin.AssignID;

import com.luoran.bartalks.entity.BaseInfo;



/**
 * 项目-计划表
 */
public class BtPlanDetails extends BaseInfo implements Serializable {

	private static final long serialVersionUID = 1L;

	public BtPlanDetails() {
	}

	/**
	 * 主键id
	 */
	@AssignID("uuid")
	public String getId() {
		return getString("id");
	}

	public void setId(String id) {
		set("id", id);
	}

	/**
	 * 所属公司id
	 */
	public String getCompanyId() {
		return getString("companyId");
	}

	public void setCompanyId(String companyId) {
		set("companyId", companyId);
	}

	/**
	 * 计划编码
	 */
	public String getPlanCode() {
		return getString("planCode");
	}

	public void setPlanCode(String planCode) {
		set("planCode", planCode);
	}

	/**
	 * 所属项目名称
	 */
	public String getProjectName() {
		return getString("projectName");
	}

	public void setProjectName(String projectName) {
		set("projectName", projectName);
	}

	/**
	 * 所属项目id
	 */
	public String getProjectId() {
		return getString("projectId");
	}

	public void setProjectId(String projectId) {
		set("projectId", projectId);
	}

	/**
	 * 开始日期
	 */
	public Date getStartDate() {
		return getDate("startDate");
	}

	public void setStartDate(Date startDate) {
		set("startDate", startDate);
	}

	/**
	 * 结束日期
	 */
	public Date getEndDate() {
		return getDate("endDate");
	}

	public void setEndDate(Date endDate) {
		set("endDate", endDate);
	}

	/**
	 * 出发地位置id
	 */
	public String getStartPlaceId() {
		return getString("startPlaceId");
	}

	public void setStartPlaceId(String startPlaceId) {
		set("startPlaceId", startPlaceId);
	}

	/**
	 * 起始地编码
	 */
	public String getStartPlaceCode() {
		return getString("startPlaceCode");
	}

	public void setStartPlaceCode(String startPlaceCode) {
		set("startPlaceCode", startPlaceCode);
	}

	/**
	 * 起始地名称
	 */
	public String getStartPlaceName() {
		return getString("startPlaceName");
	}

	public void setStartPlaceName(String startPlaceName) {
		set("startPlaceName", startPlaceName);
	}

	/**
	 * 目的地位置id
	 */
	public String getDestinationId() {
		return getString("destinationId");
	}

	public void setDestinationId(String destinationId) {
		set("destinationId", destinationId);
	}

	/**
	 * 目的地编码
	 */
	public String getDestinationCode() {
		return getString("destinationCode");
	}

	public void setDestinationCode(String destinationCode) {
		set("destinationCode", destinationCode);
	}

	/**
	 * 目的地名称
	 */
	public String getDestinationName() {
		return getString("destinationName");
	}

	public void setDestinationName(String destinationName) {
		set("destinationName", destinationName);
	}

	/**
	 * 计划模板id
	 */
	public String getTemplateId() {
		return getString("templateId");
	}

	public void setTemplateId(String templateId) {
		set("templateId", templateId);
	}

	/**
	 * 运输方式id
	 */
	public String getTransportTypeId() {
		return getString("transportTypeId");
	}

	public void setTransportTypeId(String transportTypeId) {
		set("transportTypeId", transportTypeId);
	}

	/**
	 * 运输方式编码
	 */
	public String getTransportTypeCode() {
		return getString("transportTypeCode");
	}

	public void setTransportTypeCode(String transportTypeCode) {
		set("transportTypeCode", transportTypeCode);
	}

	/**
	 * 运输方式名称
	 */
	public String getTransportTypeName() {
		return getString("transportTypeName");
	}

	public void setTransportTypeName(String transportTypeName) {
		set("transportTypeName", transportTypeName);
	}

	/**
	 * 距离(km)
	 */
	public BigDecimal getDistance() {
		return getBigdecimal("distance");
	}

	public void setDistance(BigDecimal distance) {
		set("distance", distance);
	}

	/**
	 * 耗时(天)
	 */
	public Integer getTimeNeeded() {
		return getInteger("timeNeeded");
	}

	public void setTimeNeeded(Integer timeNeeded) {
		set("timeNeeded", timeNeeded);
	}

	/**
	 * 周末政策(天)
	 */
	public Integer getWeekPolicy() {
		return getInteger("weekPolicy");
	}

	public void setWeekPolicy(Integer weekPolicy) {
		set("weekPolicy", weekPolicy);
	}

	/**
	 * 假日政策(天)
	 */
	public Integer getHolidayPolicy() {
		return getInteger("holidayPolicy");
	}

	public void setHolidayPolicy(Integer holidayPolicy) {
		set("holidayPolicy", holidayPolicy);
	}

	/**
	 * 天气情况
	 */
	public String getWeather() {
		return getString("weather");
	}

	public void setWeather(String weather) {
		set("weather", weather);
	}

	/**
	 * 计划类型;  0:完整计划;1:分录计划
	 */
	public Integer getPlanType() {
		return getInteger("planType");
	}

	public void setPlanType(Integer planType) {
		set("planType", planType);
	}

	/**
	 * 创建时间
	 */
	public Date getCreateTime() {
		return getDate("createTime");
	}

	public void setCreateTime(Date createTime) {
		set("createTime", createTime);
	}

	/**
	 * 计划描述
	 */
	public String getRemark() {
		return getString("remark");
	}

	public void setRemark(String remark) {
		set("remark", remark);
	}

	/**
	 *  0当前任务1未来任务2已完成3延期未完成4未完成已异常通知5删除
	 */
	public Integer getStatus() {
		return getInteger("status");
	}

	public void setStatus(Integer status) {
		set("status", status);
	}

	/**
	 * 0:启动.1:停止
	 */
	public Integer getStarted() {
		return getInteger("started");
	}

	public void setStarted(Integer started) {
		set("started", started);
	}

}
